<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Admin/Video/index')}">视频列表</a></li>
			<li class="active"><a href="{:U('Admin/Video/add')}">添加视频</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" enctype="multipart/form-data" action="{:U('Admin/Video/add_post')}">
				<div class="control-group">
					<label class="span2 control-label" style="width: 90px;">视频名称：</label>
					<div class="span5">
						<input type="text" name="name">
					</div>
				</div>
				<div class="control-group">
					<label class="span2 control-label" style="width: 90px;">是否VR：</label>
					<div class="span5">
						<select class="select_2" name="typeId">
							<option value="1" >否</option>
							<option value="2" >是</option>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="span2 control-label" style="width: 90px;">视频分类：</label>
					<div class="span5">
						<select class="select_2" name="typeId">
							<foreach name="types" item="vo">
								<option value="{$vo.typeId}" >{$vo.name}</option>
							</foreach>
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="span2 control-label" style="width: 90px;">视频简介：</label>
					<div class="span7">
						<textarea style="width: 556px; height: 60px;" name="introduction"></textarea>
					</div>
				</div>
				<div class="control-group">
				    <label class="span2 control-label" style="width: 90px;">选择视频：</label>
					<div class="span7">
						<input type="file" name="video" />
					</div>
				</div>
				
			<div class="form-actions" style="padding-left:260px;">
				<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				&nbsp;&nbsp;<a class="btn" href="{:U('Admin/Video/index')}">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js"></script>
</body>
</html>